function changeHiddenValue(value){
    $('#hidden_address_id').val(value);
    calculate_fee();
}

function calculate_fee(){
    logistic_id = $('#order_logistic_id').val();
    address_id = $('#hidden_address_id').val();

    if(address_id && logistic_id){
        $.get("/store/calculate_fee", {
            address_id: address_id,
            logistic_id: logistic_id
        },
        function(data){
            $('#logistic_fee').html('物流费用:' + data);
        });
    }
    else
    {$('#logistic_fee').html('');}
}